﻿namespace Longbow.Net
{
    /// <summary>
    /// Socket 客户端状态枚举
    /// </summary>
    public enum SocketClientStatus
    {
        /// <summary>
        /// 成功
        /// </summary>
        Success = 0,

        /// <summary>
        /// 连接超时
        /// </summary>
        ConnectTimedOut,

        /// <summary>
        /// 连接取消
        /// </summary>
        ConnectCancelled,

        /// <summary>
        /// 发送取消
        /// </summary>
        SendCancelled,

        /// <summary>
        /// 接受超时
        /// </summary>
        ReceiveTimedOut,

        /// <summary>
        /// 未连接
        /// </summary>
        NotConnected,

        /// <summary>
        /// Socket 错误
        /// </summary>
        SocketError,
    }
}
